package com.away.sequence;

import java.io.Serializable;

public class OrderEntity implements Serializable {
    private static final long serialVersionUID = -3373179987753448102L;
    private String opType;
    private Long id ;

    public OrderEntity(String opType, Long id) {
        this.opType = opType;
        this.id = id;
    }

    public String getOpType() {
        return opType;
    }

    public void setOpType(String opType) {
        this.opType = opType;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    @Override
    public String toString() {
        return "OrderEntity{" +
                "opType='" + opType + '\'' +
                ", id=" + id +
                '}';
    }
}
